# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.

exec --no-startup-id dinit -u
exec --no-startup-id hyprpaper
exec --no-startup-id dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway

set $mod Mod4
set $left h
set $down j
set $up k
set $right l
set $term kitty

output [REDACTED] mode 1920x1080@[REDACTED] pos 0 0

font Iosevka Custom Bold 12

input "[REDACTED]" {
    xkb_layout "us,ru"
    xkb_options "grp:alt_shift_toggle"
    repeat_delay 300
    repeat_rate 50
}


### Key bindings
include binds

# decorations
# COLOR:
# class                 border  background text    indicator child_border
client.focused          #83A598 #83A598    #1D2021 #83A598   #83A598
client.focused_inactive #292D2E #1d2021    #D5C4A1 #292D2E   #292D2E
client.unfocused        #292D2E #1d2021    #D5C4A1 #292D2E   #292D2E
client.urgent           #484e50 #FE8019    #1d2021 #FE8019   #FE8019


default_border pixel 2
gaps inner 8

# window rules

for_window [class="qemu"] floating enable
for_window [class="mpv"] floating enable
for_window [class="imv"] floating enable
for_window [class="virt-manager"] floating enable

#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
    position top
    swaybar_command waybar
}
